package com.ruoyi.message.domain.vo;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 消息用户关联对象 t_message_user
 *
 * @author Bandit
 * @date 2022-11-01
 */
public class MessageUserVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /** 消息id */
    private Long messageId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 消息类型 */
    @Excel(name = "消息类型")
    private Integer type;

    /** 发送者id */
    @Excel(name = "发送者id")
    private Long senderId;

    /** 发送者姓名 */
    @Excel(name = "发送者姓名")
    private String senderName;

    /** 接收者id */
    private Long receiveUserId;

    /** 接收者姓名 */
    @Excel(name = "接收者姓名")
    private String receiveUserName;

    /** 是否已读，1已读 */
    @Excel(name = "是否已读，1已读")
    private Integer readed;

    public void setMessageId(Long messageId)
    {
        this.messageId = messageId;
    }

    public Long getMessageId()
    {
        return messageId;
    }
    public void setReceiveUserId(Long receiveUserId)
    {
        this.receiveUserId = receiveUserId;
    }

    public Long getReceiveUserId()
    {
        return receiveUserId;
    }
    public void setReceiveUserName(String receiveUserName)
    {
        this.receiveUserName = receiveUserName;
    }

    public String getReceiveUserName()
    {
        return receiveUserName;
    }
    public void setReaded(Integer readed)
    {
        this.readed = readed;
    }

    public Integer getReaded()
    {
        return readed;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getSenderId() {
        return senderId;
    }

    public void setSenderId(Long senderId) {
        this.senderId = senderId;
    }

    public String getSenderName() {
        return senderName;
    }

    public void setSenderName(String senderName) {
        this.senderName = senderName;
    }

    @Override
    public String toString() {
        return "MessageUserVo{" +
                "messageId=" + messageId +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", type=" + type +
                ", senderId=" + senderId +
                ", senderName='" + senderName + '\'' +
                ", receiveUserId=" + receiveUserId +
                ", receiveUserName='" + receiveUserName + '\'' +
                ", readed=" + readed +
                '}';
    }
}
